import {createRouter, createWebHistory, createWebHashHistory} from 'vue-router'
const routes=[
    {name: 'question', path: '/', component: () => import('../page/question/question.vue')},
]
const router = createRouter({
    history: createWebHashHistory(),
    routes //上面的路由数组
})
export default router